package pers.cj.pdos.mapper;

import org.apache.ibatis.annotations.Param;
import pers.cj.pdos.entity.OrderRule;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 核销单编号，商品编号，借出单，进货订单编号，商品模板，入库单编号，销售订单编号，销售编号,调拨单,商品套餐,借出归还单 Mapper 接口
 * </p>
 *
 * @author chenj
 * @since 2019-11-04
 */
public interface OrderRuleMapper extends BaseMapper<OrderRule> {

    void insertBatch(List<OrderRule> orderRuleList);

    void addOrderRuleCurrent(@Param("companyId") String companyId, @Param("type") int type);
    void addOrderRuleCurrentStep(@Param("companyId") String companyId, @Param("type") int type, @Param("step") int step);
}
